home *** CD-ROM | disk | FTP | other *** search
/ PD ROM 1 / PD ROM Volume I - Macintosh Software from BMUG (1988).iso / Programming / Complete Applications / 4D Programming / 4D Turbo / Turbo Instructions < prev   
Encoding:
Text File  |  1987-10-01  |  1.3 KB  |  33 lines  |  [TEXT/ttxt]

  1. {
  2. This document discusses the process required for creating an external procedure for 4th Dimension using Turbo Pascal.
  3.  
  4. 1)  Use ResEdit to transfer the resource in the file "4D DHDR" into the Turbo Pascal program.  It goes in the DHDR resource of Turbo Pascal.
  5.  
  6. 2)  Follow the guidlines for structuring your program as presented in the file "4D External Template".
  7.  
  8. 3)  Compile your program.
  9.  
  10. 4)  Use 4D External Mover to move you program resource into your 4D application .res file or a Proc.ext file.  Install with the following procedure:
  11.  
  12. a)  Start 4D External Mover.
  13.  
  14. b)  1) If you want to install into a Proc.ext file then click open.
  15.      2) If you want to install the procedure for use in a single application, hold down the Option key and click Open.  Then select the .Res file of your application.
  16.  
  17. c)  Now click Transfer...
  18.  
  19. d)  Choose segment 1, Offset 0 (zero).
  20.  
  21. e)  Hold down the Option key and press Left (or right if your resource file is opened on the right instead of the left).  Now select the file you created with Turbo Pascal, (it is a resource file).
  22.  
  23. f)  Assign the name you desire for the application, select the parameters in the proper order in which they are passed.
  24.  
  25. That's all.  You're done!!
  26.  
  27. If you encounter any problems or have questions please address them to me at CIS 73277,1055.
  28.  
  29. Todd.
  30. ACIUS.
  31.  
  32.  
  33. }